import { Settings as LayoutSettings } from '@ant-design/pro-layout';

const Settings: LayoutSettings & {
  pwa?: boolean;
  logo?: string;
} = {
  navTheme: 'light',
  // primaryColor: '#409eff',
  primaryColor: '#296df3',
  layout: 'side', // layout 的菜单模式,side：右侧导航，top：顶部导航	side | top|mix
  headerTheme: 'light',
  contentWidth: 'Fluid',
  fixedHeader: false,
  fixSiderbar: true,
  title: '',
  pwa: false,
  iconfontUrl: '//at.alicdn.com/t/font_2550141_r2bgck6e1i.js',
  headerHeight: 48,
  splitMenus: false,
  menu: {
    locale: true,
    defaultOpenAll: true,
    autoClose: false,
    ignoreFlatMenu: true,
  } as any,
};

export default Settings;
